import request from '@/utils/request'

// 巡更时间点
export function qualityAdd(url, params) {
  return request({
    url: url + '/system/common/timeList',
    method: 'GET',
    params
  })
}

// 设备列表
export function devicelist(url, params) {
  return request({
    url: url + '/system/common/deviceList',
    method: 'GET',
    params
  })
}

// 用户列表
export function porstuser(url, params) {
  return request({
    url: url + '/system/common/userList',
    method: 'GET',
    params
  })
}


// 获取巡更打卡记录
export function recdocList(url, data) {
  return request({
    url: url + '/system/common/getClockInRecord',
    method: 'POST',
    data: data
  })
}
